
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Rune
 */

@ManagedBean(name="b")
@SessionScoped

public class Beregninger implements Serializable{
    
    public double og;
    public double fg;
    public final double v1 = 1881.22;
    public final double v2 = 1.775;
    public double r;

    public void setH(double h) {
        this.h = h;
    }

    public void setR(double r) {
        this.r = r;
    }

    public double getH() {
        return h;
    }

    public double getR() {
        return r;
    }
    public double h;

    public Beregninger(double og, double fg) {
        this.og = og;
        this.fg = fg;
    }
    public Beregninger(){};

    public double getFg() {
        return fg;
    }

    public double getOg() {
        return og;
    }

    public void setFg(double fg) {
        this.fg = fg;
    }

    public void setOg(double og) {
        this.og = og;
    }
}